The cheapest and fastest trains from Barcelona to Madrid
Cheapest price
£41
Average price
£83
Fastest journey
3 h 2 m
Average duration
3 h 2 m
Trains per day
16
Distance
504 km
The best way to find a cheap train ticket from Barcelona to Madrid is to book your journey as far in advance as possible and to avoid travelling at rush hour.
The average ticket from Barcelona to Madrid will cost around £83 if you buy it on the day, but you can find cheap train tickets today for only £41.
Of the 16 trains that leave Barcelona for Madrid every day 16 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
These direct trains cover the 504 km distance in an average of 3 h 2 m but if you time it right, some trains will get you there in just 3 h 2 m .
The slowest trains will take 3 h 2 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.
07410
06410
06080
06110
06320
06320
06200
06540
06150
06180Travel Information
Compare train, coach and flight for Barcelona to Madrid
Omio recommends booking the train as it is the most popular option from Barcelona to Madrid among Omio's users. If you are prioritising price take the train with prices starting from £6. For those with little time consider booking a flight which can get you there in 4h 25m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.2 - 0.5kg. The ticket price range depends on the travel mode: a train costs an average of £6, and a flight costs an average of £22.
Distance: 504 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
£45 Average Price Cheapest | £48 Average Price | £136 Average Price |
5h 49m Average total duration 5h 19m Onboard + 30m Additional time* | 6h 38m Average total duration 6h 8m Onboard + 30m Additional time* | 7h 25m Average total duration Fastest 4h 25m Onboard + 3h 0m Additional time* |
0.2 - 0.5kg CO2 emissions Lowest | 0.5 - 1.3kg CO2 emissions | 1.5 - 3.0kg CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Live departures
Barcelona to Madrid train times
The table below shows live departures for Barcelona to Madrid trains for tomorrow, Sunday 1 March. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
07410 | 06:35 Barcelona Sants | 3h30 | 10:05 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06410 | On time 06:35 Barcelona Sants | 3h30 | 10:05 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06080 | On time 06:50 Barcelona Sants | 3h17 | 10:07 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06016 | On time 07:45 Barcelona Sants | 3h17 | 11:02 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06500 | On time 09:40 Barcelona Sants | 3h17 | 12:57 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06110 | On time 09:45 Barcelona Sants | 3h04 | 12:49 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06020 | On time 10:25 Barcelona Sants | 3h17 | 13:42 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06320 | On time 11:14 Barcelona Sants | 3h02 | 14:16 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06014 | On time 12:20 Barcelona Sants | 3h17 | 15:37 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06540 | On time 12:50 Barcelona Sants | 3h02 | 15:52 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06150 | On time 13:50 Barcelona Sants | 3h02 | 16:52 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06180 | On time 16:20 Barcelona Sants | 3h02 | 19:22 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06190 | On time 17:53 Barcelona Sants | 3h17 | 21:10 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06200 | On time 18:40 Barcelona Sants | 3h02 | 21:42 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06610 | On time 19:20 Barcelona Sants | 3h28 | 22:48 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06210 | On time 19:35 Barcelona Sants | 3h17 | 22:52 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Barcelona to Madrid by train, coach or flight
Compare train, coach and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.
01 Mar
02 Mar
03 Mar
04 Mar
05 Mar
06 Mar
07 Mar
08 Mar
09 Mar
10 Mar
11 Mar
12 Mar
13 Mar
14 Mar
15 Mar
16 Mar
17 Mar
18 Mar
19 Mar
20 Mar
21 Mar
Why should you book Barcelona to Madrid trains with Omio?
Why book with Omio vs iryo?
- Compare with other providers: On Omio, you can not only buy tickets for iryo, but also compare tickets for the likes of Ouigo, AVE, Renfe AVLO or Renfe to find the best option for your trip from Barcelona to Madrid.
- Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
- Compare all your options: Omio allows you to compare iryo with all available travel options, which are train, bus and flight to ensure you get the best deal for traveling from Barcelona to Madrid.
Why book with Omio over Wanderu, Rome2rio or Raileurope?
- Compare with other providers: On Omio, you can also compare tickets for the likes of Ouigo, AVE, Renfe AVLO or Renfe to find the best option for your trip from Barcelona to Madrid.
- Multiple modes of transport: Omio allows you to compare travel options including train, bus and flight to find the ideal travel option from Barcelona to Madrid.
How far in advance should I book train tickets from Barcelona to Madrid?
ReviewsReviews for the rail journey from Barcelona to Madrid

Journey information
Overview: Train from Barcelona to Madrid
Trains from Barcelona to Madrid run on average 37 times per day, taking around 5h 3m. Cheap train tickets for this journey start at £20 if you book in advance.
There are 37 trains per day. The earliest train runs at 05:40, the last at 21:25. The fastest train covers the 504 km distance in 2h 36m.
Distance 504 km |
Average train duration 5h 3m |
Cheapest ticket price £20 |
Trains per day 37 |
Direct trains 37 |
Fastest train 2h 36m |
First train 05:40 |
Last train 21:25 |
Train companies: iryo, Ouigo, AVE, Renfe AVLO, Renfe, Renfe Viajeros from Barcelona to Madrid trainsiryo, Ouigo, AVE, Renfe AVLO, Renfe, Renfe Viajeros trains will get you between Barcelona and Madrid from £20. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
AVE
Renfe
Ouigo
Renfe AVLO
Renfe Viajeros
Barcelona to Madrid by Train: The Easiest, Most Scenic Way to Travel Spain
Introduction
As someone always chasing the smoothest way to explore Spain, the Barcelona to Madrid by train route was an easy yes for my recent trip. If it’s your first time visiting or you’re regularly traveling between the cities for work or fun, this journey feels like part of the adventure and not just a commute. Let me walk you through my first-hand experience and share a few tips to help you plan your own perfect ride.
Route Overview
You can travel from Barcelona to Madrid by train in just 2.5 to 3 hours, covering 620 kilometers (385 miles) with ease between two of Spain’s most dynamic cities.
In my opinion, it’s the best way to get from Barcelona to Madrid if you care about comfort, speed, and scenery. I rode with Ouigo, but you’ll also find Renfe AVE and Avlo high-speed options departing from Barcelona Sants and arriving at Madrid Chamartín Clara Campoamor, which are both easy to reach from the city center.

Transportation Experience
Booking my Barcelona to Madrid train on Omio took all the guesswork out of the process. After quickly comparing prices and times, I went with an early-morning Ouigo for the best value. If you’re debating “Should I take the train or bus from Barcelona to Madrid?”—the train wins for speed, comfort, and views. Flights are quicker in the air, but between airport transfers and security, trains are often just as fast and way more relaxing.

Route Details
Departure & Arrival Stations
Barcelona Sants is a major hub, but easy to navigate—plenty of signs, good coffee, and lots of shops. Arrive early to soak in the energy (and secure a croissant before boarding).
Madrid Chamartín Clara Campoamor is also well-connected, with taxis, metro and bus lines right outside, making your onward Madrid adventure seamless.

Schedule & Frequency
The train journey from Barcelona to Madrid takes just over 2.5 hours, even with a quick stop in Zaragoza. I took a 7:45 AM OUIGO train and arrived in Madrid by mid-morning: it was fast, smooth, and incredibly easy. You’ll find departures nearly every hour, from sunrise to late evening. Mornings offer the best light and fewer crowds, but there are options to fit any schedule.
Onboard Experience & Services
My Second Class Ouigo seat surprised me: roomy, clean, and with handy power outlets for my devices. Ouigo doesn’t offer Wi-Fi, so I recommend downloading podcasts and playlists in advance (the scenery keeps you busy anyway). If you’re after more perks like a café car or quiet zone, check out Renfe’s AVE trains on Omio.
On OUIGO trains between Madrid and Barcelona, each passenger can bring one cabin bag (maximum 55 × 35 × 25 cm) and one small handbag (maximum 36 × 27 × 15 cm) free of charge. Additional or oversized luggage (up to 130 × 90 × 50 cm and 30 kg) can be added for €5 during booking or €20 at the station, so it’s worth planning ahead.
The real highlight, though? Watching Spain fly by with rolling hills, olive groves, and even castles peeking through the window. The route feels like a moving postcard, especially around Zaragoza.
Ticketing Advice & Budget Breakdown
Book early for the best deals. I bought my ticket about 3 weeks ahead for just €15. Here’s what my total trip cost:
| Item | Cost (EUR) |
|---|---|
| Ouigo Train Ticket (early booking) | €15 |
| Metro to Barcelona Sants | €1.50 |
| Coffee & croissant at station café | €4 |
| Taxi from Chamartín to my hotel | €10 |
| Total | €30.50 |
Looking for more savings? Try Avlo or book non-peak times, and always check for flash deals or promo codes. Find more tips in Omio's Barcelona train station guide.
Top Tips & Recommendations
- Arrive early at Barcelona Sants to enjoy a coffee and avoid last-minute stress.
- Choose an upper-deck seat if you can, as the views are next-level.
- Pack your own snacks, especially on Ouigo, since there’s no food onboard.
- No Wi-Fi on Ouigo: Download everything ahead of time.
- If you want extra comfort or amenities, AVE trains are worth the splurge.
Scenic Moments You’ll Remember
One thing I loved about the Barcelona to Madrid train is that you see the landscape shift in real-time, from the coast and city to golden fields, olive groves, and rugged mountains. The early sunlight over Zaragoza was unreal. Even if you’re not a morning person, set your alarm because these views are worth it.
Conclusion
If you’re deciding on how to get from Barcelona to Madrid, this is a great train route. It’s fast and smooth, and it turns the journey into a complete experience. Book your Barcelona to Madrid train with Omio, grab a window seat, and let Spain unfold around you. ¡Buen viaje!
About the Author: Nancy Sevilla
- Job Title: Travel and Lifestyle Blogger
- Bio: Travel and lifestyle content creator who shares honest guides, helpful tips, and personal experiences from her global adventures. Based between Spain and the U.S., she specializes in solo travel, digital nomad life, and creating visually compelling content for her blog and social platforms.

FAQs: Barcelona to Madrid train
Find answers to the most common questions about traveling from Barcelona to Madrid by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Madrid, this guide helps you travel smarter and with confidence.

popular train stations
Important Stations and Airports in Barcelona and Madrid
- Mon - Sun: 06:00 - 22:00
- Hotspots in and near restaurants.
- Staffed and automatic. Open daily from 05:30 to 21:00.
- McDonald’s
- Caffe di Fiore
- Ars Café
- Café de l'Estació
- Café de l’Estació Deli
- Lavazza
- Como
- Peter's
- Tutti Frutti
- Enrique Tomás
- & many more
- All areas of the station have full disability access facilities.
- Apartments Eixample
- Apartment Guell
- Sweet Inn Callao
- Mon - Sun: 06:00 - 22:00
- Located in various locations inside the station.
- Metro lines: L3, L5
- Bus lines: A1, A2
- Train lines: AVE, Alvia, Euromed, Talgo, Trenhotel, TGV, Avant, Intercity, R1, R2, R2 Nord, R2 Sud, R3, R4, RG1, R11, R12, R13, R14, R15, R16, R17
- 6:00 AM - 10:00 PM Monday - Sunday
- Free
- Parking is available nearby with several public parking options.
- Restaurant Lasarte
- El Nacional
- Outside the main entrance.
- Elevators.
- €1
- Majestic Hotel & Spa Barcelona
- Hotel Royal Passeig de Gracia
- Casa Fuster Hotel
- Located in the main hall
- Avis
- Europcar
- Located in the main hall
- Free
- Hall 1: main entrance, platforms for regional and Rodalies trains
- Hall 2: metro connections
- Hall 3: FGC services
- Metro: Line 2, Line 3, Line 4
- Bus: Several lines available
- FGC: Lines S1, S2, S5, S55
- Mon - Sun: 10:00 - 20:00
- Free WiFi in the station and on all Renfe trains.
- Open daily from 05:30 to 22:00.
- Passion Food
- La Barrila
- Enrique Tomás
- Pic Nic
- Foodissimo!
- PureGusto
- Burger King
- Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
- 60 Balconies Urban Stay
- Only YOU Hotel Atocha
- SLEEP’N Atocha
- Mon - Sun: 10:00 - 20:00
- On the ground floor of the main concourse.
- Metro lines: 1
- Bus lines: 10, 14, 24, 26, 32, 37, 54, 57, 59, 85, 86, 102, 121, 203
- Train lines: C1, C2, C3, C4, C5, C7, C8, C10
Most popular train connections from Barcelona
More options for your journey from Barcelona to Madrid
Here are some other resources that might have the information you need


